/*
   file : api.h
   University of Jiangsu
   memoryDB      2010.6
 */


#ifndef _DB_API_H
#define _DB_API_H

#include<stdio.h>
#include<string.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<netinet/tcp.h>

#define MAX_COMMAND 4096
#define IP_ADD "127.0.0.1"
#define PORT 9989

int sql_connect(char *,int);

int sql_exec(char *,int,int);

#endif
